package com.iap.admin.command
{
	import com.iap.app.model.ServiceResponse;
	import com.iap.app.model.Status;
	
	import mx.controls.Alert;
	
	import org.robotlegs.mvcs.SignalCommand;
	
	public class LoginResponseCommand extends SignalCommand
	{
		[Inject]
		public var response:ServiceResponse;

		override public function execute():void
		{
			loginHandler();
		}

		private function loginHandler():void
		{
			var status:Status = response.status;
			Alert.show("status.code -> "+ status.code);
		}
	}
}